import request from '@/utils/request'

export function getTodayData(data) {
  return request({
    url: '/api/v1/index/todayData',
    method: 'post',
    data
  })
}

export function getLineChartData(data) {
  return request({
    url: '/api/v1/index/lineChart',
    method: 'post',
    data
  })
}

export function getBarChartData(data) {
  return request({
    url: '/api/v1/index/barChart',
    method: 'post',
    data
  })
}
